<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="Admin.AdminDeal"%>
<html>
  <head>
    <title>删除管理员</title>
  </head>
  
  <body><% 
  AdminDeal Admin=new AdminDeal();
  String DealID=(String)request.getParameter("DealID");
  if(Admin.DeleteAdmin(DealID)==1)
  {

       out.print("<script>alert('删除成功 ')</script>");
       
  }
  else
  {
        out.print("<script>alert('删除失败  ')</script>");
        
  }
  
  %>
   <script type="text/javascript">

        window.location.href="AdminShow.jsp";    

   </script>


  </body>
</html>
